import * as THREE from 'three'

export const sizes = {
  width: window.innerWidth,
  height: window.innerHeight
}

export  const camera = new THREE.PerspectiveCamera(45, sizes.width / sizes.height,0.1,1000)
// 相机改变观察角度
// camera.position.x = 35;
// camera.position.y = 25;
// camera.position.z = 35;
camera.position.x = 2;
camera.position.y = 2;
camera.position.z = 2;
camera.lookAt(new THREE.Vector3(5, 0, 0));

